/*-------------------------------- Arctic Core ------------------------------
 * Copyright (C) 2013, ArcCore AB, Sweden, www.arccore.com.
 * Contact: <contact@arccore.com>
 *
 * You may ONLY use this file:
 * 1)if you have a valid commercial ArcCore license and then in accordance with
 * the terms contained in the written license agreement between you and ArcCore,
 * or alternatively
 * 2)if you follow the terms found in GNU General Public License version 2 as
 * published by the Free Software Foundation and appearing in the file
 * LICENSE.GPL included in the packaging of this file or here
 * <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>
 *-------------------------------- Arctic Core -----------------------------*/


/******************************************************************************
* Includes
******************************************************************************/
#include "CanNm_Cfg.h"
#include "CanNm.h"

/******************************************************************************
* Global variables
******************************************************************************/



const CanNm_ConfigType CanNm_ConfigPtr = 
{
	.NodeId = 0x55,						/* Source Node ID */
	.MainFunctionPeriod = 1,			/* 1ms */
	.TimeoutTime = 2000,				/* T[T_NM_TIMEOUT] */
	.RepeatMessageTime = 1500,			/* T[T_REPEAT_MESSAGE] */
	.WaitBusSleepTime = 2000,			/* T[T_WAIT_BUS_SLEEP] */
	.WaitBusSleepWakeUpTime = 50,		/* T[T_WakeUp] HHT=100ms*/
	.MessageCycleTime = 500,			/* T[T_NM_MessageCycle] */
	.MessageCycleOffsetTime = 0,
	.MessageTimeoutTime = 2000,			/* T[Tx-Timeout] */
	.CanIfPduId = 3,
	.PduLength = 8,
	.NidPosition = CANNM_PDU_BYTE_0,
	.CbvPosition = CANNM_PDU_BYTE_1,
	.ImmediateNmCycleTime = 20,			/* T_NM_ImmediateCycleTime */
	.ImmediateNmTransmissions = 5,		/* N_ImmediateNM_TIMES */
};





